add_subdirectory("json")

set (search_engine_src
    Array.cpp
    AsteriskSearchEngine.cpp
    Checker.cpp
    CommutativityGenerator.cpp
    DistributivityGenerator.cpp
    FullSearchEngine.cpp
    Generator.cpp    
    Main.cpp
    Operator.cpp
    OperatorCost.cpp
    PhysicalOperatorsGenerator.cpp
    Query.cpp
    QueryLoader.cpp
    QueryOutput.cpp
    SearchEngine.cpp
    Timer.cpp
)

file(GLOB search_engine_inc "*.h")

add_executable(search_engine ${search_engine_src} ${search_engine_inc})

set_target_properties(search_engine PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${OUTPUT_DIR})

target_link_libraries(search_engine json_lib) 

